package com.example.ymm.util;

import java.nio.charset.StandardCharsets;

public class Md5Util {


    /**
     * org.springframework.util.DigestUtils
     */
    public static String encrypt3ToMd5(String str) {
        return org.springframework.util.DigestUtils.md5DigestAsHex(str.getBytes(StandardCharsets.UTF_8));
    }


}
